from time import sleep
from pynput.keyboard import Controller

if __name__ == '__main__':
    keyboard = Controller()
    second = 5
    text = input(f'input the contents and wait {second} seconds :')
    sleep(second)
    for c in text:
        keyboard.type(c)
